var t = getApp();

Page({
    data: {
        deadline: "",
        child_num: 0,
        settle_statistic: 0,
        performance_total: 0,
        stage_performance: 0,
        people_num: 0,
        valid_user_num: 0,
        is_admin: 0,
        activity: {
            activity_name: "",
            sign_profit: 0,
            recommend_award: 0,
            manage_award: 0,
            people_num: 0,
            average_num: 0
        }
    },
    onLoad: function(t) {
        this.getData();
    },
    getData: function() {
        var e = this;
        0 !== this.data.active && this.data.active, t._getNetWork({
            url: t.getNetAddresss("plugin.sign-buy.frontend.my-team.index"),
            success: function(a) {
                var n = a.data, i = n.result, o = n.msg, s = n.data;
                if (0 == i) return t.tips(o);
                console.log(s), e.setData({
                    deadline: s.deadline,
                    child_num: s.child_num,
                    settle_statistic: s.settle_statistic,
                    performance_total: s.performance_total,
                    stage_performance: s.stage_performance,
                    people_num: s.people_num,
                    valid_user_num: s.valid_user_num,
                    is_admin: s.is_admin,
                    activity: s.activity
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});